package com.lyf.auth.domain.pojo.Bean;

import java.util.Date;

public class ClientInfo {
   private Integer clientId;
   private String clientSecret;
   private String comment;
   private Date createTime;
   private Date updateTime;
   private Byte status;
   private String createuserid;
   private String updateuserid;

   public Integer getClientId() {
      return this.clientId;
   }

   public void setClientId(Integer clientId) {
      this.clientId = clientId;
   }

   public String getClientSecret() {
      return this.clientSecret;
   }

   public void setClientSecret(String clientSecret) {
      this.clientSecret = clientSecret == null ? null : clientSecret.trim();
   }

   public String getComment() {
      return this.comment;
   }

   public void setComment(String comment) {
      this.comment = comment == null ? null : comment.trim();
   }

   public Date getCreateTime() {
      return this.createTime;
   }

   public void setCreateTime(Date createTime) {
      this.createTime = createTime;
   }

   public Date getUpdateTime() {
      return this.updateTime;
   }

   public void setUpdateTime(Date updateTime) {
      this.updateTime = updateTime;
   }

   public Byte getStatus() {
      return this.status;
   }

   public void setStatus(Byte status) {
      this.status = status;
   }

   public String getCreateuserid() {
      return this.createuserid;
   }

   public void setCreateuserid(String createuserid) {
      this.createuserid = createuserid == null ? null : createuserid.trim();
   }

   public String getUpdateuserid() {
      return this.updateuserid;
   }

   public void setUpdateuserid(String updateuserid) {
      this.updateuserid = updateuserid == null ? null : updateuserid.trim();
   }

   ClientInfo(final Integer clientId, final String clientSecret, final String comment, final Date createTime, final Date updateTime, final Byte status, final String createuserid, final String updateuserid) {
      this.clientId = clientId;
      this.clientSecret = clientSecret;
      this.comment = comment;
      this.createTime = createTime;
      this.updateTime = updateTime;
      this.status = status;
      this.createuserid = createuserid;
      this.updateuserid = updateuserid;
   }

   public static ClientInfoBuilder builder() {
      return new ClientInfoBuilder();
   }

   public static class ClientInfoBuilder {
      private Integer clientId;
      private String clientSecret;
      private String comment;
      private Date createTime;
      private Date updateTime;
      private Byte status;
      private String createuserid;
      private String updateuserid;

      ClientInfoBuilder() {
      }

      public ClientInfoBuilder clientId(final Integer clientId) {
         this.clientId = clientId;
         return this;
      }

      public ClientInfoBuilder clientSecret(final String clientSecret) {
         this.clientSecret = clientSecret;
         return this;
      }

      public ClientInfoBuilder comment(final String comment) {
         this.comment = comment;
         return this;
      }

      public ClientInfoBuilder createTime(final Date createTime) {
         this.createTime = createTime;
         return this;
      }

      public ClientInfoBuilder updateTime(final Date updateTime) {
         this.updateTime = updateTime;
         return this;
      }

      public ClientInfoBuilder status(final Byte status) {
         this.status = status;
         return this;
      }

      public ClientInfoBuilder createuserid(final String createuserid) {
         this.createuserid = createuserid;
         return this;
      }

      public ClientInfoBuilder updateuserid(final String updateuserid) {
         this.updateuserid = updateuserid;
         return this;
      }

      public ClientInfo build() {
         return new ClientInfo(this.clientId, this.clientSecret, this.comment, this.createTime, this.updateTime, this.status, this.createuserid, this.updateuserid);
      }

      public String toString() {
         return "ClientInfo.ClientInfoBuilder(clientId=" + this.clientId + ", clientSecret=" + this.clientSecret + ", comment=" + this.comment + ", createTime=" + this.createTime + ", updateTime=" + this.updateTime + ", status=" + this.status + ", createuserid=" + this.createuserid + ", updateuserid=" + this.updateuserid + ")";
      }
   }
}
